home *** CD-ROM | disk | FTP | other *** search
- Path: news.tdl.com!news
- From: Martin Moore <moore@tdl.com>
- Newsgroups: comp.lang.c++
- Subject: Re: BC++5.0 Program doesn't compile (see text)
- Date: Tue, 09 Apr 1996 09:41:15 -0800
- Organization: FlexSoft, Dublin CA.
- Message-ID: <316AA13B.79CF@tdl.com>
- References: <4k9e51$fl9@arl-news-svc-5.compuserve.com>
- NNTP-Posting-Host: tdl-dyn28.tdl.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: quoted-printable
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Philippe Verdy wrote:
- > =
-
- > craiga@netcom.com (Craig Arnush) s'=E9crit :
- > > Martin Moore <moore@nac.telco.com> writes:
- > > >
- > > >I cannot get the following program to compile...can anyone else?
- > > >
- > > >#include "vector.h"
- > > >using namespace std;
- > > >vector<long> test;
- > >
- > > I had absolutely no problems with it.
- > >
- > Sorry, it compiles on my BC++5.0
- > But may be you need a int main(){} or int WinMain(){} function
- > to avoid link-time errors...The point is that it doesn't get to the LINK =
- stage. That's what a =
-
- compile error means. =
-
-
- If you create a new project as follows:
- Application Type: Application (.exe)
- Platform: Windows 3.x {16]
- Target Model: Large
- Frameworks: OWL
- Libraries: Dynamic
- (thanks to Mr. Fred Mellender for the specific steps), you should find =
-
- that the above program (call it "bug.cpp" and add it to the project) =
-
- does not compile...and, according to my testing, if you try to recompile =
-
- the program *AFTER* the compilation error, the IDE loops and you must =
-
- cancel it with CTRL-ALT-DEL (under Win95).
-
- This bug has been submitted to Borland, but it is a sad commentary on =
-
- their product.
-
-
- -- =
-
- Martin Moore email: moore@tdl.com =
-
- FlexSoft //// Technical Analysis and Quote Downloaders
- Technical Analysis Scanner (TAS) & Personal Ticker Tape (PTT)
- FlexSoft WEB Page http://www.flexsoft.com
- ftp at ftp://ftp.tdl.com/pub/moore
-